package com.demo.webapp.kcfinder.utils;

import java.util.Map;

public interface ValueStack {

	public static final String VALUE_STACK = "com.demo.webapp.util.ValueStack.ValueStack";
	public static final String CONVERSION_PROPERTY_FULLNAME = "conversion.property.fullName";
    public abstract Map<String, Object> getContext();
    
    public abstract void setValue(String expr, Object value);
    
    public abstract void setValue(String expr, Object value, boolean throwExceptionOnFailure);
    
    public abstract Object findValue(String expr);

    public abstract Object findValue(String expr, boolean throwExceptionOnFailure);

    public abstract Object peek();

    public abstract Object pop();

    public abstract void push(Object o);
}
